extern "C" {
    fn ntohl(__netlong: uint32_t) -> uint32_t;
}
pub type __uint32_t = u32;
pub type __uint64_t = u64;
pub type uint32_t = __uint32_t;
pub type uint64_t = __uint64_t;
#[no_mangle]
pub extern "C" fn ntohll(mut v: uint64_t) -> uint64_t {
    let mut b: uint32_t = 0;
    let mut t: uint32_t = 0;
    b = unsafe { ntohl((v & 0xffffffff as u32 as u64) as uint32_t) };
    t = unsafe { ntohl((v >> 32) as uint32_t) };
    return (b as uint64_t) << 32 | t as u64;
}
